package panel.viewSpots
{
	import assists.resource.ImageResource;
	import assists.resource.ResourceLoader;
	
	import flash.display.Sprite;
	import flash.display.Stage;
	
	public class PhotoSimpleGroup extends Sprite
	{
		public function PhotoSimpleGroup()
		{
			super();
		}
		
		public function show(iconList:Array,loader:ResourceLoader,stage:Stage):void
		{
			for(var i:int=0;i<iconList.length;i++)
			{
				var icon:ImageResource = new ImageResource(loader,iconList[i]);
				icon.width = icon.height = stage.stageWidth/5;
				icon.x = i * (icon.width /5 * 6) + icon.width /5;
				this.addChild(icon);
			}
		}
		
	}
}